// IBookManager.aidl
package com.example.aidlclient.aidl;

// Declare any non-default types here with import statements
import com.example.aidlclient.aidl.Book;
import com.example.aidlclient.aidl.IOnCountListener;

interface IBookManager {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
//    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
//            double aDouble, String aString);

    List<Book> getBookList();

    oneway void addBook(in Book book);

    oneway void printBook();

    void registerListener(IOnCountListener listener);

    void unregisterListener(IOnCountListener listener);
}
